#include "creg.h"
using namespace std;

creg::creg(int n_):n(n_){
    reg = new double[n];
    for ( int i = 0; i < n; ++ i )
        reg[i] = 3;
}

creg::~creg(){
    delete [] reg;
}